#include "logo.h"

char* getValue(void);

void make()
{
     int i;
     char wordStr[MAXVALUE] ="\0";
     char valueStr[MAXVALUE] ="\0";
     char *word;
     char *value;
     
     printf("welcome to make\n");
     word =wordStr;
     value =valueStr;
     strcpy(word,getValue());
     strcpy(value,getValue());
     printf("word of make is %s\n",word);
     printf("value of make is %s\n",value);
     for (i=0;i<wordLen;i++)
     {
         if (!strcmp(word,wordName[i]))
         {
            strcpy(wordValue[i],value);
            return ;
         }
     }
     strcpy(wordName[wordLen],word);
     strcpy(wordValue[wordLen++],value);

     return ;
}
